Kubio\Core\Utils D

Total Complexity 173
Dependencies 6
Dependents 70
Total lines 837
Lines of code 606
Logical lines of code 308
Comment lines 59
Methods 54
Properties 7

Methods 54

Method Rating Maintainability Complexity Lines of code
getPluginVersions()
A
44 13 42
validateRequirements()
A
42 10 52
humanizeArray()
A
46 10 36
getThemeIsSupportedForShop()
A
53 9 20
getLinkAttributes()
A
48 7 36
getFrontendPlaceHolder()
S
51 5 30
getCurrentPageIsWooPage()
S
62 5 12
getStarterPartsURL()
S
62 5 11
getStarterSitesURL()
S
62 5 11
getKubioShopIsActive()
S
58 4 15
maybeJSONDecode()
S
60 4 14
getCloudURL()
S
58 4 14
getCurrentPageIsWooTemplate()
S
61 4 13
mapHideClassesByMedia()
S
62 4 12
arrayRecursiveRemoveEmptyBranches()
S
63 4 11
getWooIsUpgradedToShopBlocks()
S
72 4 6
pageHasCustomTemplate()
S
64 4 10
getShowShopContent()
S
78 4 3
getThemeTemplateParts()
S
51 2 29
getPageTemplate()
S
59 3 14
walkBlocks()
S
62 3 13
wpVersionCompare()
S
61 3 12
hasEnoughRemainingTime()
S
62 3 11
uniqueId()
S
63 3 11
hasKubioEditorReferer()
S
62 3 11
kses()
S
58 2 15
getGlobalSnippetsURL()
S
70 3 6
getGlobalSnippetsCategoriesURL()
S
70 3 6
kubioCacheGet()
S
66 3 8
getEmptyShortcodePlaceholder()
S
62 2 13
getEmptyPlaceholder()
S
62 2 12
canEdit()
S
78 2 3
isRestRequest()
S
79 2 3
isTrue()
S
69 2 6
getCurrentPageIsWoo()
S
79 2 3
kubioCacheHas()
S
74 2 4
kubioCacheSet()
S
72 2 5
isDebug()
S
79 2 3
getSnippetsURL()
S
65 2 9
isCLI()
S
79 2 3
getWooIsActive()
S
65 2 9
getURL()
S
79 1 3
getWooIsUpgradedToShopBlocksSetting()
S
79 1 3
getFilePath()
S
79 1 3
kubioGetEditorURL()
S
70 1 6
ksesSVG()
S
75 1 4
isFalse()
S
79 1 3
isProduction()
S
75 1 4
useJSComponentProps()
S
68 1 7
isTryOnlineEnabled()
S
79 1 3
getKubioShopFeatureIsActivated()
S
80 1 3
getDefaultAssetsURL()
S
74 1 4
shortcodeDecode()
S
79 1 3
getGlobalSnippetsTagsURL()
S
79 1 3